package com.gadglet.admin.gadget.client;


import com.gadglet.admin.gadget.shared.GadgetTransit;
import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface GadgetServiceAsync {
	void saveGadget(GadgetTransit gadget, AsyncCallback<String> callback)
			throws IllegalArgumentException;
	void getGadget(String gadgetName, AsyncCallback<GadgetTransit> callback)
	throws IllegalArgumentException;
}
